'use strict';

new Vue({
  el: '#root',

  data: {
    tab: 0,
    isShowBookModal: false,
    isAuth: false
  },

  methods: {
    onClickBookItem: function onClickBookItem(isAuth) {
      this.isAuth = isAuth;
      this.isShowBookModal = true;
    },
    onClickBookModalClose: function onClickBookModalClose() {
      this.isShowBookModal = false;
    }
  }
});